//
//  IComputerBuilder.h
//  ArchitectDemo
//
//  Created by 姚胜龙 on 2017/7/5.
//  Copyright © 2017年 姚胜龙. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "IComputer.h"
//构建者抽象协议
@protocol IComputerBuilder <NSObject>
//构建CPU
- (id<IComputerBuilder>)buildCPU:(NSString *)cpu;
//构建显卡
- (id<IComputerBuilder>)buildDisplay:(NSString *)display;
//构建主板
- (id<IComputerBuilder>)buildMainboard:(NSString *)mainboard;
//构建系统
- (id<IComputerBuilder>)buildOS:(NSString *)os;
//构建
- (id<IComputer>)build;

@end
